﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bai16_C_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            CRectangle rect = new CRectangle();
            CTraingle trgl = new CTraingle();
            rect.setValues(4, 5);
            trgl.setValues(4,5);
            Console.WriteLine("rect a:{0}",rect.area());
            Console.WriteLine("trgl:{0}",trgl.area());
        }
    }
}
